package leetcode.code0850;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class S850 implements IDebug {

	public abstract int rectangleArea(int[][] rectangles);

	@Override
	public void debug1() {
		HelpDebug.compare(6, this.rectangleArea(HelpDebug.str2array1("[[0,0,2,2],[1,0,2,3],[1,0,3,1]]")));
	}

	@Override
	public void debug2() {
		HelpDebug.compare(49, this.rectangleArea(HelpDebug.str2array1("[[0,0,1000000000,1000000000]]")));
	}

	@Override
	public void debug3() {
		//
		HelpDebug.compare(51, this.rectangleArea(HelpDebug.str2array1("[[0,0,2,2],[1,0,2,3],[1,0,3,1],[3,3,4,4],[9,0,11,20],[100,100,102,102]]")));

	}
	public void debug5() {
		//
		HelpDebug.compare(7, this.rectangleArea(HelpDebug.str2array1("[[0,0,2,2],[1,0,2,3],[1,0,3,1],[3,3,4,4]]")));

	}
	public void debug6() {
		//
		HelpDebug.compare(971243962, this.rectangleArea(HelpDebug.str2array1("[[93516,44895,94753,69358],[13141,52454,59740,71232],[22877,11159,85255,61703],[11917,8218,84490,36637],[75914,29447,83941,64384],[22490,71433,64258,74059],[18433,51177,87595,98688],[70854,80720,91838,92304],[46522,49839,48550,94096],[95435,37993,99139,49382],[10618,696,33239,45957],[18854,2818,57522,78807],[61229,36593,76550,41271],[99381,90692,99820,95125]]")));

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
